#include "widget.h"
#include "ui_widget.h"
#include<QFont>
Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
    ui->label->setText("你好呀");
//    ui->label->resize(50,50);
    QFont font;

    font.setFamily("仿宋");
    font.setBold(true);
//    font.setPointSize(20);

    ui->label->setFont(font);
}

Widget::~Widget()
{
    delete ui;
}

